package com.hsd.znsh.pojo.query;

import com.hsd.znsh.entity.SensorGroup;
import com.hsd.znsh.enums.DeletedStatusEnum;
import com.hsd.znsh.hql.*;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/*
 * @auther: wangjiacai
 *
 * @create: 2018-04-23 15:48:06
 */
@Data
@ClassName(SensorGroup.class)
public class SensorGroupQuery {

    private String sensorGroupName;

    @Equal
    private Integer sensorGroupIndex;

    @Equal
    private Integer sensorGroupType;

    @Equal
    private Integer createUserId;

    @Great(column = "updateDateTime")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startTime;

    @Less(column = "updateDateTime")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endTime;

}
